#!/bin/sh

echo "START----docs center 构建开始 ----START`date '+%Y-%m-%d %H:%M:%S'`"

cd /DATA/lao/docs-center

echo "----docs center 进入目录 ----`date '+%Y-%m-%d %H:%M:%S'`"

expect /DATA/lao/webhook-server-4-aui/routes/webhook/docs_center_git_pull.expect

echo "----docs center 拉取代码完成---- `date '+%Y-%m-%d %H:%M:%S'`"

echo "----docs center 开始构建---- `date '+%Y-%m-%d %H:%M:%S'`"

yarn docs:build

echo "----docs center 开始构建---- `date '+%Y-%m-%d %H:%M:%S'`"

